﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ABMCamposVariables.ascx.cs" Inherits="PresentacionWeb.ControlesDeUsuario.ABMCamposVariables" %>
                                <asp:Panel runat="server" BackColor="#FFCC99" 
    ID="Panel2" Width="423px">
                                    <asp:Label runat="server" Text="Nombre" Font-Bold="True" ID="lblNombreCampo"></asp:Label>

                                    
                                    <asp:Label runat="server" Text="Valor" Font-Bold="True" ID="lblValorCampo"></asp:Label>

                                   
                                    <asp:Label runat="server" Text="Tipo" Font-Bold="True" ID="lblTipo"></asp:Label>

                                   
                                    <asp:UpdatePanel runat="server" UpdateMode="Conditional" 
                                        ID="UpdatePanelCampoVar" ChildrenAsTriggers="true"><ContentTemplate>
                                            <asp:PlaceHolder ID="PlaceHolderCamposVar" runat="server"></asp:PlaceHolder>
                                            
                                        
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnAddCampoVar" EventName="Click"></asp:AsyncPostBackTrigger>
<asp:AsyncPostBackTrigger ControlID="btnRemoveCampoVar" EventName="Click"></asp:AsyncPostBackTrigger>
</Triggers>
</asp:UpdatePanel>
<asp:Button ID="btnAddCampoVar" runat="server" Font-Size="XX-Small" 
                                                Height="18px" OnClick="btnAddCampoVar_Click" Text="Agregar Campo" 
                                                Width="80px" />
                                            
                                            <asp:Button ID="btnRemoveCampoVar" runat="server" Font-Size="XX-Small" 
                                                Height="18px" OnClick="btnRemoveCampoVar_Click" Text="Eliminar Campo" 
                                                Width="80px" />

                                </asp:Panel>

                                